<!DOCTYPE html>
<html dir="ltr" lang="ru-RU">
	<head>
		<?php echo $this->Html->charset(); ?>
		<title>
			<?php echo $title_for_layout; ?>
		</title>
	<?php
		echo $this->Html->meta('icon');

		//echo $this->Html->css('cake.generic');
		echo $this->Html->css('style', array('media' => 'screen'));
		echo $this->Html->css('jquery-ui-1.10.4.custom');
		
		
		echo $this->Html->script('jquery-2.1.1.min.js');
		echo $this->Html->script('jquery-ui-1.10.4.custom.min.js');
		
		
		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
	?>			
	<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Abril+Fatface&amp;subset=latin,cyrillic">
	</head>
	<body>
	<div id="art-main">
		<div class="art-header">
		    <div class="art-shapes">
		    <img src="/img/kgmu-logo.png" hspace=10px vspace=2px>
			</div>
			<h1 class="art-headline" data-left="92.89%">
			    <a href="#">Личный рейтинг 2014- 201X</a>
			</h1>
			<h2 class="art-slogan" data-left="87.1%">
				Вторая редакция
			</h2>                        
		</div>
		<div class="art-nav">
		    <ul class="art-hmenu">
		    	<li>
		    		<a href="/" <?php if ($HMenu=='/') {echo 'class="active"'; }?>>
		    			Главная
		    		</a>
		    	</li>
		    	<li>
			    	<a href="/teachers" <?php if ($HMenu=='Teacher') {echo 'class="active"'; }?>>
			    		Профиль
			    	</a>
		    	</li>
		    	<li>
			    	<a href="/records" <?php if ($HMenu=='Record') {echo 'class="active"'; }?>>
			    		Мои записи
			    	</a>
		    	</li>
		    	<li>
			    	<a href="/ratings" <?php if ($HMenu=='Rating') {echo 'class="active"'; }?>>
			    		Мой рейтинг
			    	</a>
		    	</li>			    	
		    	<li>
			    	<a href="/instructions" <?php if ($HMenu=='Instruction') {echo 'class="active"'; }?>>
			    		Инструкция
			    	</a>
		    	</li>
	    			    			    	
		    </ul>
		</div>
		<div class="art-sheet clearfix">
		            <div class="art-layout-wrapper">
		                <div class="art-content-layout">
		                    <div class="art-content-layout-row">
		                        <div class="art-layout-cell art-content">
		                        	<article class="art-post art-article">            
	                					<div class="art-postcontent art-postcontent-0 clearfix">
	                						<div class="art-content-layout">
	    										<div class="art-content-layout-row">
				   									<div class="art-layout-cell layout-item-0" style="width: 100%" >
					        							<?php echo $this->Session->flash(); ?>
														<?php echo $this->fetch('content'); ?>
				    								</div>
				    							</div>
											</div>
										</div>
									</article>
								</div>
     							<?php 
     							//echo $this->SideBar->MakeMenu($this->SideBarItems, $this->SideBarMessage);
     							?>
                    	</div>
                	</div>
            	</div>
            	<footer class="art-footer">
					<p>
						<a href="/">
							Главная
						</a> | 
						<a href="/teachers">
							Профиль
						</a> | 
						<a href="/records">
							Мои записи
						</a> |
						<a href="/ratings">
							Мой рейтинг
						</a> |
						<a href="/instructions">
							Инструкция
						</a>												
					</p>
					<p>
						 © 2014. Курский государственный медицинский университет.
					</p>
				</footer>
    		</div>
    		<p class="art-page-footer">
        	<span id="art-footnote-links">
        		Разработчик <a href="mailto:teleginaa@kursksmu.net?subject=Вопрос разработчику" target="_blank">Телегин АА</a>.
        	</span>
    		</p>
		</div>
		<?php echo $this->Js->writeBuffer(); ?>
	</body>
</html>		